#pragma once

#include "../umlmodel_global.h"

#include "UMLLabel.h"

namespace uml {

/// <summary>
/// UMLTypedElementLabel
/// For showing text about Slots, InstanceSpecifications, InstanceValues, or
/// elements with a type, such as TypedElements or Connectors.
/// </summary>
class UMLMODEL_EXPORT UMLTypedElementLabel : public UMLLabel {

public: // Constructors and destructors
    explicit UMLTypedElementLabel(const QString& umlType="uml::UMLTypedElementLabel");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
